/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tubes1sister.peerConnection.clientAsServer;

import java.util.LinkedList;
import java.util.List;

/**
 *
 * @author Muhammad Anis
 */
public class clientAsServerManager {
    //memiliki list dari thread client as server
    List<clientAsServer> clientAsServerThread = new LinkedList<clientAsServer>();

    //konstruktor
    public clientAsServerManager(){
        //do nothing
    }

    //menambhakan thread ke dalam array
    public void addClientAsServerThread(clientAsServer input){
        clientAsServerThread.add(input);
    }
    public void removeClientAsServerThread(clientAsServer input){
        clientAsServerThread.remove(input);
    }
    //mengupdate semua isi thread

}
